package cn.miju.database.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.SuperBuilder;

import java.time.LocalDateTime;

/**
 * <pre>
 * 公共参数
 * </pre>
 *
 * @author zhuming
 * @version 1.0.0
 * @since 2023-03-07 22:29
 */
@Data
@SuperBuilder
@NoArgsConstructor
@AllArgsConstructor
public class AutoEntity {
    /**
     * 主键
     */
    @TableId
    private Long id;
    /**
     * 创建时间
     */
    private LocalDateTime createdTime;
    /**
     * 修改时间
     */
    private LocalDateTime updatedTime;
}
